Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    p(s(x))  → x
2:    s(p(x))  → x
3:    0 + y  → y
4:    s(x) + y  → s(x + y)
5:    p(x) + y  → p(x + y)
6:    minus(0)  → 0
7:    minus(s(x))  → p(minus(x))
8:    minus(p(x))  → s(minus(x))
9:    0 * y  → 0
10:    s(x) * y  → (x * y) + y
11:    p(x) * y  → (x * y) + minus(y)
There are 13 dependency pairs:
12:    s(x) +# y  → S(x + y)
13:    s(x) +# y  → x +# y
14:    p(x) +# y  → P(x + y)
15:    p(x) +# y  → x +# y
16:    MINUS(s(x))  → P(minus(x))
17:    MINUS(s(x))  → MINUS(x)
18:    MINUS(p(x))  → S(minus(x))
19:    MINUS(p(x))  → MINUS(x)
20:    s(x) *# y  → (x * y) +# y
21:    s(x) *# y  → x *# y
22:    p(x) *# y  → (x * y) +# minus(y)
23:    p(x) *# y  → x *# y
24:    p(x) *# y  → MINUS(y)
The approximated dependency graph contains 3 SCCs: {13,15}, {17,19} and {21,23}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.02 seconds)   ---  May 3, 2006